package com.demo.mappers;
import org.apache.ibatis.annotations.Param;



/**
 * @Description::mapper
 * @Date:2025-03-11
 * @author：author
*/
public interface DeviceInventoryMapper<T,P> extends BaseMapper {


	/**
	 * 根据InventoryId查询
	 */
	 T selectByInventoryId(@Param("inventoryId") Integer inventoryId);

	/**
	 * 根据InventoryId更新
	 */
	 Integer updateByInventoryId(@Param("bean")T t, @Param("inventoryId") Integer inventoryId);

	/**
	 * 根据InventoryId删除
	 */
	 Integer deleteByInventoryId(@Param("inventoryId") Integer inventoryId);

}